package com.zust.zst.dao.mapper.login;


import com.zust.zst.dao.entity.Student;
import com.zust.zst.dao.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 登录统一处理
 *
 * @author gavin
 * @date 2022/11/13 22:23
 */
@Mapper
public interface LoginMapper {
    Teacher teacherLogin(@Param("uid") Integer uid, @Param("password") String password, @Param("type") Integer type);

    Student studentLogin(@Param("uid") Integer uid, @Param("password") String password);

}
